.bh-input {
    box-sizing: border-box;
    margin: 0;
    font-variant: tabular-nums;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 0;
    padding: 4px 11px;
    color: #000000d9;
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    transition: all .3s;
}
textarea.bh-input {
    max-width: 100%;
    height: auto;
    min-height: 32px;
    line-height: 1.5715;
    vertical-align: bottom;
    transition: all .3s,height 0s;
}
.bh-input{
    &:hover{
        border-color: var(--color-primary);
    }
    &:focus{
        border-color: var(--color-primary);
        outline: none;
    }
}
.bh-input-lg {
    padding: 6.5px 11px;
    font-size: 16px;
}
.bh-input-sm {
    padding: 0 7px;
}
.bh-input-borderless, .bh-input-borderless:hover, .bh-input-borderless:focus, .bh-input-borderless-focused, .bh-input-borderless-disabled, .bh-input-borderless[disabled] {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/*前后置*/
.bh-input-group-wrapper {
    display: inline-block;
    width: 100%;
    text-align: start;
    vertical-align: top;
}
.bh-input-group {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #000000d9;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.bh-input-group-addon, .bh-input-group-wrap, .bh-input-group>.bh-input {
    display: table-cell;
}
.bh-input-group-addon, .bh-input-group-wrap {
    width: 1px;
    white-space: nowrap;
    vertical-align: middle;
}
.bh-input-group-addon {
    position: relative;
    padding: 0 11px;
    color: #000000d9;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    transition: all .3s;
}
.bh-input-group>.bh-input:first-child, .bh-input-group-addon:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.bh-input-group-addon:first-child {
    border-right: 0;
}
.bh-input-group-addon:last-child {
    border-left: 0;
}
.bh-input-affix-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 0;
    padding: 4px 11px;
    color: #000000d9;
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    transition: all .3s;
    display: inline-flex;
}
.bh-input-prefix, .bh-input-suffix {
    display: flex;
    flex: none;
    align-items: center;
}
.bh-input-affix-wrapper>input.bh-input {
    padding: 0;
    border: none;
    outline: none;
}
.bh-input-suffix {
    margin-left: 4px;
}
.bh-input-prefix {
    margin-right: 4px;
}
.bh-input-clear-icon {
    margin: 0;
    color: #00000040;
    font-size: 12px;
    vertical-align: -1px;
    cursor: pointer;
    transition: color .3s;
    cursor: pointer;
}
.bh-input-clear-icon-hidden {
    visibility: hidden;
}
/*置灰*/
.bh-input[disabled] {
    color: #00000040;
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}
